<template>
  <div class="bg-content content">
    <div v-show="show" class="titlemain">
   系统异常,请稍后重试....

    </div>
   <van-popup :close-on-click-overlay=false   close-icon="cross"   v-model="show1">
    <div class="tanchu">
    <div class="closee" @click="guan">关闭</div>
  <img src="../../../../assets/img/main/ceshiya.jpg" alt="">
    </div>

<div class="poptitle"> 
  长按关注公众号,方可访问
  </div>  </van-popup>
  </div>
</template>
<script>
import { Dialog } from "vant";
import { Tab, Tabs, Popup } from "vant";
export default {
  name: "index",
  data() {
    return {
     state:"",
     show1:false,
     show:true
    };
  },
  created() {
    this.state=this.$route.query.state
   if(this.state==2){
     this.show1=true
     this.show=false
   }
  },
  methods: {
      guan(){
     this.$router.replace({
       name:'Home'
     })
      // this.show1=false
      }

  },
};
</script>
<style lang="scss" scoped>
.bg-content {
  width: 100%;
  margin-bottom: 100px;
}
.poptitle{
  width: 100%;
  text-align: center;
  font-size: 16px;
}
.tanchu{
  width: 300px;
  text-align: center;
  // padding: auto;
  img{
    width: 200px;
    height: 200px;
  }
  .closee{
    width: 50px;
    height: 20px;
    font-size: 16px;
    line-height: 20px;
    margin-left: 230px;
    margin-top:20px;
  }
}

</style>